Version 22.2

SafeDictionary<TKey,TValue> Class Methods

For a list of all members of this type, see SafeDictionary<TKey,TValue> members.

Public Methods
 NameDescription
Public MethodAddOverloaded. Adds the specified key and value to the dictionary  
Public MethodCheckAndAddOverloaded. Check if the key exists in the dictionary, if not adds the value  
Public MethodClearRemoves all keys and values from the dictionary  
Public MethodContainsCheck whether the dictionary contains the specific item  
Public MethodContainsKeyCheck if the dictionary contains the specified key  
Public MethodCopyToCopies the dictionary KeyCollection elements to an existing one-dimensional System.Array, starting at the specified array index.  
Public MethodGetEnumeratorReturns an enumerator that iterates through the collection.  
Public MethodRemoveOverloaded. Removes from the dictionary item with the specified key  
Public MethodTryGetValueGets the value with the specified key  
See Also

View on GitHub